﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Minecraft.Data;
using Minecraft.Data.NBT;
using System.Threading;

namespace Minecraft.Net {
    class Program {
        static void Main(string[] args) {

            //String wrld = @"C:\Users\Mike\AppData\Roaming\.minecraft\saves\World3\level.dat";
            //World world = World.Load(wrld);

            String level = @"C:\Users\Mike\AppData\Roaming\.minecraft\saves\World1\0\0\c.0.0.dat";
            Tag lvl = NBTReader.LoadNBT(level);

            Console.WriteLine(lvl);

            //world.Time = 0;
            //world.Player.Inventory.Add(new InventoryItem() { Count = 21, ID = ItemType.LightstoneDust, Slot = 4 });

            //world.Save(wrld);
            Console.ReadLine();

        }
    }
}
